#include "app_buffer.h"
int main(int argc, char const *argv[])
{
    Buffer *buffer= app_buffer_init(12);
    app_buffer_write(buffer, "0123456",7);

    char str[6];
    app_buffer_read(buffer,str , 6);

    app_buffer_write(buffer, "abcdef", 6);

    app_buffer_write(buffer, "890",3);

    app_buffer_write(buffer, "abcdef", 6);
    char str2[8];
    app_buffer_read(buffer,str2, 8);

    return 0;
}
